using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace FU.Capstones.IMS.Services.Common.DataContracts
{
    [DataContract(Namespace = InventoryConstants.ServiceNamespace)]
    public class Employee
    {
        [DataMember]
        public int EmployeeID { get; set; }

        [DataMember]
        public string FullName { get; set; }

        [DataMember]
        public DateTime DateOfBirth { get; set; }

        [DataMember]
        public string IdentityCardNumber { get; set; }

        [DataMember]
        public string Gender { get; set; }

        [DataMember]
        public DateTime JoinedDate { get; set; }

        [DataMember]
        public string Email { get; set; }

        [DataMember]
        public EmploymentType EmploymentType { get; set; }

        [DataMember]
        public string Address { get; set; }

        [DataMember]
        public string PhoneNumber { get; set; }

        [DataMember]
        public string MobileNumber { get; set; }

        [DataMember]
        public string Description { get; set; }

        [DataMember]
        public Role Role { get; set; }

        [DataMember]
        public string Username { get; set; }

        [DataMember]
        public List<int> AuthorizationCollection { get; set; }

        [DataMember]
        public bool IsDelete { get; set; }
    }
}
